package tech.aistar.Vo;

import tech.aistar.entity.Item;

import java.util.Set;

public class ItemVo extends Item {
    //客户
 private UserVo userVo;

 private  Set<UserVo> userVoSet;

private Set<OrderdetailVo> orderdetailVoSet;

    public ItemVo(UserVo userVo, Set<UserVo> userVoSet, Set<OrderdetailVo> orderdetailVoSet) {
        this.userVo = userVo;
        this.userVoSet = userVoSet;
        this.orderdetailVoSet = orderdetailVoSet;
    }

    public ItemVo(Integer item_id, String item_name, Double item_price, UserVo userVo, Set<UserVo> userVoSet, Set<OrderdetailVo> orderdetailVoSet) {
        super(item_id, item_name, item_price);
        this.userVo = userVo;
        this.userVoSet = userVoSet;
        this.orderdetailVoSet = orderdetailVoSet;
    }
}
